import { Controller, Get } from '@nestjs/common'
import { UserService } from './user.service'

@Controller('usermodel')
export class UserController {
  constructor(private readonly appService: UserService) {}

  @Get('test')
  getUserHello(): string {
    return this.appService.getUser()
  }
  @Get('list')
  getUserList(): Array<string> {
    return this.appService.getUserList()
  }
}
